﻿namespace ChessToys
{
    public class PawnPromotionMove : Move
    {
        private IPiece _promoteTo;

        public PawnPromotionMove(Position start, Position end, IPiece promoteTo)
            : base(start, end)
        {
            _promoteTo = promoteTo;
        }

        public IPiece PromoteTo
        {
            get { return _promoteTo; }
        }
    }
}
